package com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dao.EmployeDao;
import com.model.Employe;

@Service
@Transactional(readOnly = false)
public class ServiceUserImpl {
	//	@Autowired
	//	private EmployeDao employeDao = new EmployeHome();

	@Autowired
	private EmployeDao vEmployeHome;

	public void createUser (){
		
	
		Employe user = new  Employe();
		user.setLogin("root");
		user.setPassword("root");
		vEmployeHome.create(user);
	

	}
}
